import { ref } from 'vue';

import { CommonAnyData } from '@/api/model/common';

import Algorithm from '../algorithm/index.vue';
import FaceView from '../Face/index.vue';
import Humanoid from '../Humanoid/index.vue';
import Vehicle from '../vehicle/index.vue';

export const tabList = ref([
  { label: '人脸识别', value: 'face' },
  { label: '人形识别', value: 'humanoid' },
  { label: '车辆识别', value: 'vehicle' },
  { label: '算法名称', value: 'algorithm' },
]);

export const componentsMap: CommonAnyData = {
  face: FaceView,
  humanoid: Humanoid,
  vehicle: Vehicle,
  algorithm: Algorithm,
};
